package com.ymttest.database.mongo;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;

import com.ymttest.database.mongo.config.BuyerSellerOrderStatisticsField;

/**
 * 用户买手行为分析
 */
public class BuyerSellerOrderStatisticsMongoBean {

	@Id
	private long id;
	@Field(BuyerSellerOrderStatisticsField.NoneOrAllCancelled)
	private Boolean noneOrAllCancelled;

	@Field(BuyerSellerOrderStatisticsField.AnyConfirmed)
	private Boolean anyConfirmed;

	@Field(BuyerSellerOrderStatisticsField.FirstPaidTime)
	private Date firstPaidTime;

	@Field(BuyerSellerOrderStatisticsField.FirstPaidOrderId)
	private Long firstPaidOrderId;

	@Field(BuyerSellerOrderStatisticsField.UserId)
	private Long userId;

	@Field(BuyerSellerOrderStatisticsField.SellerId)
	private Long sellerId;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Boolean getNoneOrAllCancelled() {
		return noneOrAllCancelled;
	}

	public void setNoneOrAllCancelled(Boolean noneOrAllCancelled) {
		this.noneOrAllCancelled = noneOrAllCancelled;
	}

	public Boolean getAnyConfirmed() {
		return anyConfirmed;
	}

	public void setAnyConfirmed(Boolean anyConfirmed) {
		this.anyConfirmed = anyConfirmed;
	}

	public Date getFirstPaidTime() {
		return firstPaidTime;
	}

	public void setFirstPaidTime(Date firstPaidTime) {
		this.firstPaidTime = firstPaidTime;
	}

	public Long getFirstPaidOrderId() {
		return firstPaidOrderId;
	}

	public void setFirstPaidOrderId(Long firstPaidOrderId) {
		this.firstPaidOrderId = firstPaidOrderId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getSellerId() {
		return sellerId;
	}

	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

}
